package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 
 * @TableName ex_info
 */
@TableName(value ="ex_info")
@Data
public class ExInfo implements Serializable {
    /**
     * 
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 考核名称
     */
    @TableField(value = "assessment_name")
    private String assessmentName;

    /**
     * 考核名称
     */
    @TableField(value = "letter_id")
    private Integer letterId;

    /**
     * 父类
     */
    @TableField(value = "parent_id")
    private Integer parentId;

    /**
     * 分类名称
     */
    @TableField(value = "classification_name")
    private String classificationName;

    /**
     * 分类类型
     */
    @TableField(value = "classification_type")
    private String classificationType;

    /**
     * 是否完成
     */
    @TableField(value = "is_finished")
    private Integer isFinished;

    /**
     * 权重
     */
    @TableField(value = "weight")
    private String weight;

    /**
     * 指标类型（0具化指标 1量化指标）
     */
    @TableField(value = "indicator_type")
    private Integer indicatorType;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_user")
    private String createUser;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 更新人
     */
    @TableField(value = "update_user")
    private String updateUser;

    @TableField(exist = false)
    private String indexId;

    @TableField(exist = false)
    private List<ExInfo> children;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}